<?php
// 示例的全局数据库配置文件
return array(
    'LAYOUT_MENU'=>array(
        array(
            'name' => '企业管理',
            'class' => 'fa-circle-o',
            'url' => "",
            'src' => '',
            'actionName' => "Enterprise/index",
            'auth'=>array(
                'Enterprise/enterprise','Enterprise/enterprises',
                'Enterprise/confirmEnterprise','Enterprise/enterpriseLog',
                'Enterprise/enterpriseLogout','Enterprise/enterpriseExtra',
                'Enterprise/enterpriseList'
            )
        ),
        array('name' => '政府管理',
            'class' => 'fa-circle-o',
            'url' => "",
            'src' => '',
            'actionName' => 'Government/index',
            'auth'=>array(
                'Government/government','Government/governments',
                'Government/governmentLog','Government/governmentLogOut',
                'Government/governmentList'
            )
        ),
        array('name' => '行业管理',
            'class' => 'fa-circle-o',
            'url' => "",
            'src' => '',
            'actionName' => 'Industry/index',
            'auth'=>array(
                'Industry/industry','Industry/industries'
            )
        ),
        array('name' => '任务管理',
            'class' => 'fa-circle-o',
            'url' => "",
            'src' => '',
            'actionName' => 'Task/index',
            'auth'=>array(
                'Task/task','Task/tasks',
                'Task/taskconfirm','Task/taskByCondition'
            )
        ),
        array('name' => '任务模块管理',
            'class' => 'fa-circle-o',
            'url' => "",
            'src' => '',
            'actionName' => 'TaskModule/index',
            'auth'=>array(
                'Task/taskModule','Task/taskModules',
                'Task/taskModuleRel','Task/taskModuleRels',
            )
        ),
        array('name' => '信息查询',
            'class' => 'fa-circle-o',
            'url' => "",
            'src' => '',
            'actionName' => 'Info/index',
            'auth'=>array(
                'Task/task'
            )
        ),
        array('name' => '隐患登记',
            'class' => 'fa-circle-o',
            'url' => "",
            'src' => '',
            'actionName' => 'Risk/index',
            'auth'=>array(
                'Risk/risk',
                'Risk/riskFeedBack','Risk/confirmRisk',
                'Risk/riskList'
            )
        ),
        array('name' => '审核管理',
            'class' => 'fa-circle-o',
            'url' => "",
            'src' => '',
            'actionName' => 'Confirm/index',
            'auth'=>array(
                'Task/taskconfirm','Risk/confirmRisk'
            )
        ),
        array('name' => '活动申报',
            'class' => 'fa-circle-o',
            'url' => "",
            'src' => '',
            'actionName' => 'Activity/index',
            'auth'=>array(
                'Activity/activity','Activity/confirmActivity',
                'Activity/activityList'
            )
        ),
        array('name' => '管理员管理',
            'class' => 'fa-circle-o',
            'url' => "",
            'src' => '',
            'actionName' => 'Admin/index',
            'auth'=>array(
                'Admin/admin_post','Admin/admins',
                'Admin/adminLog','Admin/adminLogout',
                'Admin/adminList'

            )
        ),
        array('name' => '角色管理',
            'class' => 'fa-circle-o',
            'url' => "",
            'src' => '',
            'actionName' => 'AdminRole/index',
            'auth'=>array(
                'Admin/adminRole',
                'Admin/adminRoles','Admin/adminRoleAccess'
            )
        ),
    ),
    'LEFT_MENU_ADMIN' => array(

        array(
            'name' => ' 广告管理',
            'class' => 'fa-circle-o',
            'url' => "__ROOT__/index.php/Admin/Advertising/index",
            'src' => '__PUBLIC__/images/sysListIcon2.png',
            'actionName' => "Advertising",

        ),
        array(
            'name' => '网站管理',
            'class' => 'fa-circle-o',
            'url' => "__ROOT__/index.php/Admin/Site/index",
            'src' => '__PUBLIC__/images/sysListIcon3.png',
            'actionName' => "Site",

        ),
        array(
            'name' => '广告主管理',
            'class' => 'fa-circle-o',
            'url' => "",
            'src' => '__PUBLIC__/images/sysListIcon2.png',
            'actionName' => "",

        ),
        array(
            'name' => '投放管理',
            'class' => 'fa-circle-o',
            'url' => "__ROOT__/index.php/Admin/PutRelationship/index",
            'src' => '__PUBLIC__/images/sysListIcon3.png',
            'actionName' => "PutRelationship",

        ),
        array(
            'name' => '订单管理',
            'class' => 'fa-circle-o',
            'url' => "__ROOT__/index.php/Admin/Order/index",
            'src' => '__PUBLIC__/images/sysListIcon3.png',
            'actionName' => "Order",

        ),
    ),
    'LEFT_MENU_GOVERNMENT' => array(
        array(
            'name' => '评分管理',
            'class' => 'fa-circle-o',
            'url' => "__ROOT__/index.php/GovernmentSys/Score",
            'src' => '__PUBLIC__/images/sysListIcon4.png',
            'actionName' => "Score",

        ),
        array(
            'name' => '企业管理',
            'class' => 'fa-circle-o',
            'url' => "__ROOT__/index.php/GovernmentSys/Enterprise",
            'src' => '__PUBLIC__/images/sysListIcon1.png',
            'actionName' => "Enterprise",

        ),
        array(
            'name' => '任务查询',
            'class' => 'fa-circle-o',
            'url' => "__ROOT__/index.php/GovernmentSys/Task",
            'src' => '__PUBLIC__/images/sysListIcon2.png',
            'actionName' => "Task",

        ),
        array(
            'name' => '告警查询',
            'class' => 'fa-circle-o',
            'url' => "__ROOT__/index.php/GovernmentSys/Iot",
            'src' => '__PUBLIC__/images/sysListIcon16.png',
            'actionName' => "Iot",

        ),
        array(
            'name' => '隐患管理',
            'class' => 'fa-circle-o',
            'url' => "__ROOT__/index.php/GovernmentSys/Risk",
            'src' => '__PUBLIC__/images/sysListIcon12.png',
            'actionName' => "Risk",

        ),
        array(
            'name' => '修改密码',
            'class' => 'fa-circle-o',
            'url' => "__ROOT__/index.php/GovernmentSys/Password",
            'src' => '__PUBLIC__/images/sysListIcon6.png',
            'actionName' => "Password",

        ),
    ),

);
?>
